<!doctype html>
<html>

<head>
  <meta charset="UTF-8">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta content="telephone=no" name="format-detection">
  <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
  <link rel="stylesheet" href="./css/common/base.min.css">
  <link rel="stylesheet" href="./css/common/layer.min.css">
  <script src="./js/common/base.min.js"></script>
  <script src="./js/page/layer.min.js"></script>
  <script src="./js/page/jquery.cookie.min.js" charset="utf-8"></script>
  <script src="./js/page/sign.min.js" charset="utf-8"></script>
  <script src="./js/page/handlebars.min.js"></script>
  <script src="./js/page/editingChannel.min.js"></script>
  <link rel="stylesheet" href="./css/page/management.min.css">
  <script>
    var params = "1731585436"
  </script>
  <title>渠道管理</title>
  <style type="text/css">
    .api_tmpl * {
      line-height: 2rem;
      padding-left: 5px
    }

    .app_banner {
      font-size: 16px;
      color: #fff;
      float: left;
      width: 150px;
      text-align: center;
      cursor: pointer
    }

    .app_jicheng {
      color: #0c6;
      border-bottom: 1px solid #0c6
    }

    .channel_list li {
      line-height: 70px;
      overflow: hidden
    }

    .form_b {
      text-align: left;
      color: #898989;
      font-weight: 400;
      width: auto
    }

    .channel_table td {
      padding: 20px 40px 10px 0
    }

    .link_input {
      width: 450px
    }
  </style>
</head>

<body style="background:#fff">
  <div class="layout-container">
    <!-- <div class="dashbord-loading" id="_loading_mask">
      <img src="/images/loading.gif">
    </div> -->
    <div class="layout-header">
      <div class="logo-bar" style="float:left">
        <a style="display:inline-block;width:100%;height:100%" target="_blank" href="./index.html">
          <img src="./img/overview/logo.png" alt="logo" style="margin-top:11px">
        </a>
      </div>
      <div class="pull-right" style="margin:15px 70px 0 0">
        <!-- <div class="app-apidoc fl">
          <a href="./copywriting.html" target="_blank">接入指南</a>
        </div> -->
        <div class="app-applist fl">
          <a href="./application.html">应用管理</a>
        </div>
        <ul class="nav nav-pills fl">
          <li class="dropdown">
            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
              <span id="username"></span>
              <span class="caret"></span>
            </a>
            <ul class="dropdown-menu">
              <!-- <li><a href="./application.html">应用列表</a></li> -->
              <!-- <li class="divider"></li> -->
              <li>
                <a href="./personal.html">用户信息</a>
              </li>
              <li class="divider"></li>
              <li>
                <a href="javascript:;" id='loginOut'>退出登录</a>
              </li>
            </ul>
          </li>
        </ul>

        <div class="fl apppay-state">免费体验中</div>
      </div>
    </div>

    <div class="layout-menu" id="_menu">
      <div class="menu-app">
        <p>
          <img id="app_icon" style="width:70px;height:70px">
        </p>
        <p id="app_name" style="font-size:18px;padding:15px 0 0;margin:0;color:#fff"></p>
        <p style="margin:5px 0 20px;color:#75777b">
          <a href="javascript:;" class="common-tip">
            <span class="tip-content">appKey是shareinstall平台为每个应用分配的唯一标识符，sdk(Android/iOS/javascript)中需指定这个appKey</span>
          </a>
          <span style="font-size:14px;font-weight:700;color:#c4c4c4">AppKey：</span>
          <span id="app_key" style="color:#c4c4c4;font-size:16px"></span>
        </p>
        <p><a href="./editingApplication.html" class="detail_icon"><img src="./img/overview/i.png" alt="" style="vertical-align:middle;margin-right:8px;position: relative;top:-1px">应用信息</a></p>
      </div>
      <div class="menu-items">
        <div class="menu-item item-5">
          <div class="menu-item-text">
            <span>应用统计</span>
          </div>
          <div class="menu-child">
            <div class="subItem-1">
              <a href="./overview.html" class="load-channel-a" id="my-overview">
                <span class="icon my-overview fl"></span>
                <p class="fl">数据概览</p>
              </a>
            </div>
          </div>
        </div>
        <div class="menu-item item-1">
          <div class="menu-item-text">
            <span>应用集成</span>
          </div>
          <div class="menu-child">
            <div class="subItem-1">
              <a href="./android.html" class="load-channel-a" id="my-android">
                <span class="icon my-android fl"></span>
                <p class="fl"> Android集成</p>
              </a>
            </div>
            <div class="subItem-2">
              <a href="./ios.html" class="load-channel-a" id="my-ios">
                <span class="icon my-ios fl"></span>
                <p class="fl"> iOS集成</p>
              </a>
            </div>
            <div class="subItem-3">
              <a href="./web.html" class="load-channel-a" id="my-web">
                <span class="icon my-web fl"></span>
                <p class="fl">Web集成</p>
              </a>
            </div>
          </div>
        </div>
        <div class="menu-item item-2">
          <div class="menu-item-text">
            <span>渠道统计</span>
          </div>
          <div class="menu-child my-active">
            <div class="subItem-1 active">
              <a href="javascript:;" class="load-channel-a" id="my-qudao1">
                <span class="icon my-qudao1 fl"></span>
                <p class="fl">渠道管理</p>
              </a>
            </div>
            <div class="subItem-2">
              <a href="./comparison.html" class="load-channel-a" id="my-qudao2">
                <span class="icon my-qudao2 fl"></span>
                <p class="fl" style="color: #5f6b7e">渠道对比</p>
              </a>
            </div>
          </div>
        </div>
      </div>
    </div>

    <div class="layout-content">
      <div class="container-fluid">
        <div id="channelAdd">
          <div>
            <div class="container-title" style="color:#282828" id="_title">渠道管理-新增渠道</div>
            <form id="channel_form">
              <div class="table-responsive" style="border-bottom:1px solid #f1f1f1;padding-bottom:20px">
                <table class="channel_table">
                  <tbody>
                    <tr>
                      <td>
                        <b class="form_b">渠道编号
                          <a href="javascript:;" class="common-tip">
                            <span class="tip-content">使用者根据各自内部规则，为每个推广渠道指定的唯一编号，app安装后通过相应的api获取此编号，从而确定此次安装的渠道来源</span>
                          </a>
                        </b>
                      </td>
                      <td class="common-form">
                        <input id="link_code" name="channelCode" type="text" placeholder="请输入渠道编号" class="link_input">
                      </td>
                    </tr>
                    <tr>
                      <td class="channel-edit-title">
                        <b class="form_b">渠道名称
                          <a href="javascript:;" class="common-tip">
                            <span class="tip-content">仅用于备注，方便管理，无其它含义</span>
                          </a>
                        </b>
                      </td>
                      <td class="common-form">
                        <input id="link_name" name="channelName" type="text" placeholder="请输入渠道名称" class="link_input">
                      </td>
                    </tr>
                    <tr>
                      <td class="channel-edit-title">
                        <b class="form_b">渠道落地页</b>
                      </td>
                      <td class="common-form">
                        <div>
                          <label id="oneed" class="radio-inline" style="line-height:20px">
                            <input type="radio" name="defaultLanding" value="true" checked="checked" style="color:#898989"> 系统默认</label>
                          <label id="need" class="radio-inline" style="line-height:20px">
                            <input type="radio" name="defaultLanding" value="false" style="color:#898989">自定义</label>
                        </div>
                      </td>
                    </tr>
                    <tr id="zi_url" style="display: none;">
                      <td>
                        <b class="form_b">落地页URL</b>
                      </td>
                      <td class="common-form">
                        <input name="customURL" type="text" placeholder="请输入落地页URL" class="link_input">
                        <p style="color:#898989;margin:20px 0">自定义的落地页需集成Web api，集成方式分两种，更多详细请查看
                          <a href="web.html" style="padding-left:5px;text-decoration:underline;color:#64b2ff">Web集成</a>
                        </p>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
              <div style="padding:20px 0 20px">
                <a href="./management.html" class="btn_submit">返 回</a>
                <a href="javascript:;" id="submit_btn" class="btn_submit" style="background:#00c864;color:#fff;margin-left:40px">保 存</a>
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>
</body>

</html>